package com.zgscwjm.taobaphelper.exutils;

import android.util.Log;

/**
 * Created by zgscwjm on 17-3-2.
 */

public class LsfbLog {

    private static boolean isDebug= true;
    final private static  String MTAG ="taobaohelper";

    public static void e(String tag,String msg){
        if(isDebug)
        {
            Log.e(tag,msg);
        }
    }


    public  static  void e(String  msg) {
        if(isDebug){
            Log.e(MTAG,msg);
        }
    }


    public  static void e(Class<?> cls,String msg)
    {
        if(isDebug)
        {
            Log.e(cls.getName(),msg);
        }
    }


    public static void e(Exception e)
    {
        if (isDebug)
        {
            Log.e(MTAG,Log.getStackTraceString(e));
        }
    }




}
